package com.pagoda.nerp.trade.dao;

import com.pagoda.nerp.trade.entity.MdGoods;
import java.util.List;

public interface MdGoodsDao {
    int deleteByPrimaryKey(int goodsId);

    int insert(MdGoods record);

    MdGoods selectByPrimaryKey(int goodsId);

    List<MdGoods> selectAll();

    int updateByPrimaryKey(MdGoods record);

	int updateVendorGoods(MdGoods goods);

	List<MdGoods> selectByGoodsName(String goodsName);

    List<MdGoods> selectByCategoryId(int categoryId);

    String selectByGoodsCode(String goodsCode);
}